import React from 'react'
import { Button, Space } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
function My() {
  const navigate = useNavigate()
  const handleClick = () => {
    navigate('/message')
  }
  return (
    <div>
      <Button color='success' onClick={handleClick}>客服聊天</Button>
    </div>
  )
}

export default My
